Skip to content

Conversation

@astandrik
Copy link
Collaborator

@astandrik astandrik commented Oct 10, 2024

Closes #1360

Stand

CI Results

Test Status: ⚠️ FLAKY

📊 Full Report

Total Passed Failed Flaky Skipped
128 123 0 5 0

Bundle Size: ✅

Current: 78.97 MB | Main: 78.97 MB
Diff: +0.00 MB (0.00%)

✅ Bundle size unchanged.

ℹ️ CI Information
  • Test recordings for failed tests are available in the full report.
  • Bundle size is measured for the entire 'dist' directory.
  • 📊 indicates links to detailed reports.
  • 🔺 indicates increase, 🔽 decrease, and ✅ no change in bundle size.

@artemmufazalov
Copy link
Member

Please, change PR title prefix to fix:, so it will appear in Changelog

artemmufazalov
artemmufazalov previously approved these changes Oct 10, 2024
@astandrik
Copy link
Collaborator Author

@artemmufazalov added debounce cancelation to prevent appearing not needed popups on fast mast movement

@astandrik astandrik changed the title chore: do not hide pdisk and vdisk popups if mouse on popup content fix: do not hide pdisk and vdisk popups if mouse on popup content Oct 10, 2024
artemmufazalov
artemmufazalov previously approved these changes Oct 10, 2024
@astandrik astandrik force-pushed the astandrik.do-not-hide-pdisk-and-vdisk-popups-1360 branch from 6ce9c94 to 00301ed Compare October 10, 2024 12:21
@astandrik astandrik requested a review from Raubzeug October 10, 2024 12:22
@astandrik
Copy link
Collaborator Author

@Raubzeug added delay for table cells as discussed

@astandrik
Copy link
Collaborator Author

Deployed stand for testing

const nodeHost = valueIsDefined(data.NodeId) ? nodeHostsMap?.get(data.NodeId) : undefined;
const info = React.useMemo(() => preparePDiskData(data, nodeHost), [data, nodeHost]);

const [isPopupOpen, setIsPopupOpen] = React.useState(props.open);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's not stick to props value as initial. Let it be separate property lets say [isPopupHovered, setIsPopupHovered] = React.useState(false)


export const VDiskPopup = ({data, ...props}: VDiskPopupProps) => {
const isFullData = isFullVDiskData(data);
const [isPopupOpen, setIsPopupOpen] = React.useState(props.open);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here

@astandrik astandrik requested a review from Raubzeug October 10, 2024 15:18
@astandrik astandrik added this pull request to the merge queue Oct 11, 2024
Merged via the queue into main with commit ac70e8d Oct 11, 2024
6 checks passed
@astandrik astandrik deleted the astandrik.do-not-hide-pdisk-and-vdisk-popups-1360 branch October 11, 2024 08:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Do not hide PDisk and VDisk popups if mouse on popup content

4 participants